package lab02.Test20;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        String result;
        //从键盘输入数据
        Scanner scanner =new Scanner(System.in);
        result= scanner.next();

        System.out.println(result);

        //仅仅输出字符串中全部数字字符

        char tmp;
        int i;
        for(i=0;i<result.length()-1;i++){
            tmp=result.charAt(i);
            if (tmp>='0'&&tmp<='9'){
                System.out.println(tmp);
            }


        }






    }
}
